<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@taglib uri="http://www.goodfox.com/jsp/tags/power" prefix="p"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<%
request.setAttribute("locale",request.getLocale());
%>
<script type="text/javascript">
</script>
<div class="pageContent" style="border-left: 1px solid #B8D0D6;border-right: 1px solid #B8D0D6;">
    <form id="updatePasswordForm" method="post" action="<c:url value="/account/modifyPassword.shtml"/>" onsubmit="return validateCallback(this,navTabAjaxDone);">
        <table class="tableForm" cellpadding="0" cellspacing="1" width="100%" align="center">        
            <tbody>
				<tr>
                	<td>用户名：</td>
                    <td>
						${account.actName}     
                    	<input type="hidden" id="pwd_modify_actName" name="pwd_modify_actName" value="${account.actName}"/>
                    	<input type="hidden" id="pwd_modify_actId" name="pwd_modify_actId" value="${account.actId}"/>    	 
                    </td>
               </tr>
               <tr>
                    <td>旧密码：</td>
                    <td>
						<input class="required" type="password" name="pwd_modify_oldActPwd" id="pwd_modify_oldActPwd" maxlength="6"/>
                    </td>
               </tr>
               <tr>
                	<td>新密码：</td>
                    <td>
                    	<input class="required" type="password" name="pwd_modify_actPassword" id="pwd_modify_actPassword" maxlength="6"/>
                    </td>
               </tr>
               <tr>
                    <td>确认密码：</td>
                    <td>
                        <input equalTo="#pwd_modify_actPassword" type="password" name="pwd_modify_repActPwd" id="pwd_modify_repActPwd" maxlength="6"/>
                    </td>
                </tr>
            </tbody>
        </table>
		<div class="panelBar">
            <div class="buttonActive">
        	<c:if test="${p:isPower('/account/modifyPassword.shtml',sessionScope.loginAccount)}">
            <div class="buttonContent"><button type="submit"><spring:message code="modify.btnModify"/></button></div>
            </c:if>
            </div>
		</div>
    </form>
</div>